package cn.edu.scau.cmi.zhangweiming.composite.consistent;


public abstract class Organization {
	private String name;
	private Organization parent;
	
	public Organization(String name) {
        this.name = name;
    }
    public String getname() {
        return this.name;
    }	
    public String info() {
    	return this.name;
    }
	public Organization getParent(Organization parent) {
		return this.parent;
	}	
	public void setParent(Organization parent) {
        this.parent = parent;
    }
	abstract void addChild(Organization child);
	abstract void deleteChild(Organization child);
}
